

function loadMainPanel(sessionId){
	
	 $.post(getUrl(),{
		 service:"friendList",
		 sessionId:sessionId
		 
	 },function(data){
		 var teamList = JSON.parse(data);
		 createFriendListPanel(teamList);
	 });
}

function init(){
	$("friendList").hide();
	
	
}

function closeLogin(){
//	$("body").empty();
	$("#loginPanel").hide();
}
function createFriendListPanel(teamList){
	
	$("friendList").show();
	$("friendList").position({
		at:"right center",
		my:"right center",
		of:$("body")
	});
	alert("shit");
	
	
}